﻿using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Application.Contracts.Role
{
    public interface IRoleStateService
    {
        // 删除
        Task<DomainResult<Guid>> DeleteRole(Guid id);
        // 启用
        Task<DomainResult<bool>> EnableRole(Guid id);
        // 软删除
        Task<DomainResult<bool>> DisableRole(Guid id);
    }
}
